<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<jsp:include page="/base.jsp"></jsp:include>
<meta charset="UTF-8">
<meta name="author" content="order by dede58.com" />
<title>小米6立即购买-小米商城</title>
<link rel="stylesheet" type="text/css" href="mall/css/style.css">
</head>
<body>
	<!-- start header -->
	<%@ include file="top.jsp"%>
	<%@ include file="header.jsp"%>
	<!--end header -->
	<!-- start banner_x -->

	<!-- end banner_x -->
	<!-- self_info -->
	<div class="grzxbj">
		<div class="selfinfo center">
			<div class="lfnav fl">
				<div class="ddzx">订单中心</div>
				<div class="subddzx">
					<ul>
						<li><a href="" style="color: #ff6700; font-weight: bold;">我的订单</a></li>
						<li><a href="">意外保</a></li>
						<li><a href="">团购订单</a></li>
						<li><a href="">评价晒单</a></li>
					</ul>
				</div>
				<div class="ddzx">个人中心</div>
				<div class="subddzx">
					<ul>
						<li><a href="./self_info.html">我的个人中心</a></li>
						<li><a href="">消息通知</a></li>
						<li><a href="">优惠券</a></li>
						<li><a href="">收货地址</a></li>
					</ul>
				</div>
			</div>
			<div class="rtcont fr">
				<div class="ddzxbt">交易订单</div>
				<c:forEach items="${orderList}" var="orderList">
					<div class="ddxq">
						<div class="ddbh fl">${orderList.addressName}</div>
						<div class="ztxx fr">
							<ul>
								<li>${orderList.userName}</li>
								<li>￥${orderList.price}</li>
								<li><c:if test="${orderList.state==1}">
										<a href="shop/updateState?rowId=${orderList.rowId}">付款</a>
									</c:if> <c:if test="${orderList.state==2}">
										<a>未发货</a>
									</c:if> <c:if test="${orderList.state==3}">
										<a href="shop/updateState?rowId=${orderList.rowId}">确认收货</a>
									</c:if> <c:if test="${orderList.state==4}">
										<a>交易完成</a>
									</c:if></li>
								<li><a href=""></a></li>
								<div class="clear"></div>
							</ul>
						</div>
						<div class="clear"></div>
					</div>
				</c:forEach>

			</div>
			<div class="clear"></div>
		</div>
	</div>
	<!-- self_info -->

	<%@ include file="foot.jsp"%>
</body>
</html>